IApi.WriteAxisCustomOutput2 method
Writes a value into the second custom output variable you added in IntervalZeroDevices database or UserDevices database, in which you can use KINGSTAR ESI Import Tool to add two custom output variables.
Assembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0
Syntax
KsError WriteAxisCustomOutput2(
int Index,
uint Value
)Function WriteAxisCustomOutput2(
Index As Integer,
Value As UInteger
) As KsErrorParameters
Index
Type: int
The index of an axis. Indexes are zero based. Aliases affect this parameter.
Value
Type: uint
The value to be written into the second custom output variable.
Return value
Type: KsError
A return code of a method.
Usable EtherCAT states
ecatOP
Examples
N/ASee also